<template>
  <div>
    <h1>用户列表页</h1>
    <h2>响应式：{{n1}}</h2>
    <button @click="add">改变</button>
  </div>
</template>
<script setup>
import { ref } from "vue";

const n1=ref(false)

const add = () => {
 n1.value=true;
}
</script>
